package com.fairylove.rpc.transport.socket;

import com.fairylove.rpc.serializer.CommonSerializer;

public interface RpcServer {

    int DEFAULT_SERIALIZER = CommonSerializer.KROY_SERIALIZER;

    void start();

    <T> void publishService(T service, String serviceName);

}